<?php
defined('IN_ADMIN') or exit('No permission resources.');
include $this->admin_tpl('header', 'admin');

?>
<div class="pad_10">
<div class="bk15"></div>

<div class="explain-col">
<?=$uinfo['username'];?>(<?=$uinfo['realname'];?>)
</div>
<div class="bk15"></div>
<form name="myform" action="?m=admin&c=admin_manage&a=dept" method="post" id="myform">
<input type="hidden" name="id" value="<?=$id;?>">
<?php foreach($deptlist as $v){?>
<div><label>
  <input type="checkbox" name="depts[]" id="checkbox"<?=in_array($v['id'],$gmlist)?' checked':'';?> value="<?=$v['id'];?>">
  <?=$v['name'];?> </label></div>
  <?php } ?> 
  <input type="submit" name="dosubmit" id="dosubmit" value="提交">  <input type="button" onClick="history.back();" name="rback" id="rback" value="返回">
</form>
</div>
</body>
</html>
